﻿#region Using Directives
using System;
using System.Collections;
using System.Reflection;
using System.Text;
#endregion

namespace PAT.Data
{
    /// <summary>
    /// 
    /// </summary>
    public static class DataUtil
    {
        /// <summary>
        /// Gets the System.Type with the specified name.
        /// </summary>
        /// <param name="typeName">The name of the type to get.</param>
        /// <returns>The System.Type with the specified name, if found; otherwise, null.</returns>
        public static Type GetType(String typeName)
        {
            Type type = null;

            if (!String.IsNullOrEmpty(typeName))
            {
                type = Type.GetType(typeName, true);
            }
            return type;
        }
    }
}
